package com.donn.securitycontrolplatform.elefence.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.donn.securitycontrolplatform.common.Result;
import com.donn.securitycontrolplatform.elefence.Response.Response;
import com.donn.securitycontrolplatform.elefence.entity.TElefence;
import com.donn.securitycontrolplatform.elefence.request.ElefenceCreateReq;
import com.donn.securitycontrolplatform.elefence.request.ElefenceQueryReq;
import com.donn.securitycontrolplatform.elefence.request.ElefenceUpdateReq;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhenglx
 * @since 2022-06-21
 */
public interface ITElefenceService extends IService<TElefence> {

    Response insertElefence(ElefenceCreateReq elefence);

    Response updateElefence(ElefenceUpdateReq elefence);

    Response deleteElefence(String elefenceId);

    Response getElefenceById(String elefenceId);

    Response selectElefenceList(ElefenceQueryReq queryReq);

    Result entryEleFence(String tagId, String fenceId);

    Result dynamicStatistics(int time, String fenceId, String equipmentType);

    Result dynamicStatisticsPersonQuantity(String fenceId);
}
